package com.struts2.example.model;

public class Answer {
	//private String TAG="Answer";
	private int answerId;
	private String answerText;
    private int typeOfAnswer;
	public int getAnswerId()
	{
		return this.answerId;
	}
	
	public void setAnswerId(int answerId)
	{
		this.answerId=answerId;
	}
	
	public String getAnswerText()
	{
		return this.answerText;
	}
	
	public void setAnswerText(String answerText)
	{
		this.answerText=answerText;
	}
	
    public String toString()
    {
        return getAnswerText()+"\n" ;
    }

	public int getTypeOfAnswer() {
		return typeOfAnswer;
	}

	public void setTypeOfAnswer(int typeOfAnswer) {
		this.typeOfAnswer = typeOfAnswer;
	}
}
